Position menu created using mx.controls.Menu possible?
76 views
Skip to first unread message
raghu
unread,
Aug 9, 2008, 11:55:07 PM8/9/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Flex India Community
Hi all..
Is it possible to position a menu created using Menu.createMenu ? It
always gets positioned relative to the application container, but I
want it to be inside a Panel that I have created.
Could someone please guide me on how to do this?
Thanks for your help!
Venkat Viswanathan
unread,
Aug 10, 2008, 5:04:56 AM8/10/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flex_...@googlegroups.com
Hi,
You can get the position of the panel by doing localToGlobal on the Panel's parent DisplayObject and then change the x/y of the Menu to this position.